<template>
  <div id="app">
    <H3>OSS 桶操作</H3>
    <!-- <router-link> 默认会被渲染成一个 `<a>` 标签 -->
    <router-link to="/oss">OSS连接测试</router-link>&emsp;
    <router-link to="/oss/bucket">桶基本操作</router-link>&emsp;
    <router-link to="/oss/bucket/policy">桶策略</router-link>

    <H3>OSS 对象操作</H3>
    <router-link to="/oss/object">对象基本操作</router-link>&emsp;
    <router-link to="/oss/object/upload">对象上传</router-link>&emsp;
    <router-link to="/oss/object/copy">对象拷贝</router-link>&emsp;
    <router-link to="/oss/object/download">对象下载</router-link>&emsp;
    <router-link to="/oss/object/url">对象永久URL</router-link>&emsp;
    <router-link to="/oss/object/url/presigned">对象预签名URL</router-link>&emsp;
    <router-link to="/oss/object/remove">对象移除</router-link>


    <!-- 路由匹配到的组件将渲染在这里 -->
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    name: 'App',
    data() {
      return {
        push: '',
        msg: "演示OSSClient",
      };
    },
    methods: {
      submit1: function () {
        this.$router.push('/oss')
      },
    }
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
</style>
